class Story < ActiveRecord::Base
  belongs_to :user, :counter_cache => true
  has_many :word_stories
  has_many :words, :through => :word_stories
  
  has_many :shared_stories
  has_many :readers, :through => :shared_stories, :source => :users
  
  has_and_belongs_to_many :categories
end
